From d7e0923227edbe496cadbd784ecb5adfb8fde7b8 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 27 Feb 2025 15:05:18 +0800 Subject: [PATCH] gui/tray: Use standard native buttons for bottom buttons in user status selector page Signed-off-by: Claudio Cambra --- src/gui/UserStatusSelector.qml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/gui/UserStatusSelector.qml b/src/gui/UserStatusSelector.qml index 15abf6595..207c5206d 100644 --- a/src/gui/UserStatusSelector.qml +++ b/src/gui/UserStatusSelector.qml @@ -321,26 +321,22 @@ ColumnLayout { Layout.fillWidth: true Layout.alignment: Qt.AlignBottom - UserStatusSelectorButton { + Button { // Prevent being squashed by the other buttons with larger text Layout.minimumWidth: implicitWidth Layout.fillHeight: true - primary: true text: qsTr("Cancel") onClicked: finished() } - UserStatusSelectorButton { + Button { Layout.fillWidth: true Layout.fillHeight: true - primary: true text: qsTr("Clear status message") onClicked: userStatusSelectorModel.clearUserStatus() } - UserStatusSelectorButton { + Button { Layout.fillWidth: true Layout.fillHeight: true - primary: true - colored: true focusPolicy: Qt.StrongFocus text: qsTr("Set status message") onClicked: userStatusSelectorModel.setUserStatus() -- 2.30.2